package com.ruibang.glass.produce.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.alibaba.excel.enums.poi.VerticalAlignmentEnum;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.teaming.cloud.framework2.common.pojo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


import lombok.Data;

/**
 * <p>
 * 生产-理化-缺陷理化送样
 * </p>
 *
 * @author songJinKang
 * @since 2024-03-12
 */

@ApiModel(value = "生产-理化-缺陷理化送样")
@TableName("g_produce_defect_directly")
@Data
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER, verticalAlignment = VerticalAlignmentEnum.CENTER)
public class DefectDirectly extends BaseEntity {
    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @ExcelIgnore
    private String id;
    @ApiModelProperty(value = "ID")
    @ColumnWidth(14)
    @ExcelProperty(value = {"ID"}, index = 0)
    private String code;
    @ApiModelProperty(value = "检查机判定:0=PT,1=ST,2=其他,3=Bubble")
    @ColumnWidth(12)
    @ExcelProperty(value = {"检查机判定"}, index = 1)
    private String type;
    @ApiModelProperty(value = "镜检图")
    @ColumnWidth(12)
    @ExcelProperty(value = {"镜检图"}, index = 2)
    private String microscopy;
    @ApiModelProperty(value = "SEM判定")
    @ColumnWidth(12)
    @ExcelProperty(value = {"SEM判定"}, index = 3)
    private String sempd;
    @ApiModelProperty(value = "SEM结果")
    @ColumnWidth(12)
    @ExcelProperty(value = {"SEM结果"}, index = 4)
    private String sem;
    @ApiModelProperty(value = "检测人")
    @ColumnWidth(12)
    @ExcelProperty(value = {"检测人"}, index = 5)
    private String checkBy;
    @ApiModelProperty(value = "检测人用户ID")
    @ExcelIgnore
    private String checkById;
    @ApiModelProperty(value = "备注")
    @ColumnWidth(12)
    @ExcelProperty(value = {"备注"}, index = 6)
    private String note;
    @ApiModelProperty(value = "创建人")
    @ExcelIgnore
    private String createUserName;
    @ApiModelProperty(value = "创建人用户名称")
    @ExcelIgnore
    private String createUserId;
    @ApiModelProperty(value = "是否删除：1：是 0：否")
    @TableLogic
    @ExcelIgnore
    private String isDelete;
}
